<template>
  <div>

    <van-nav-bar title="服务中心" left-text="返回" left-arrow @click-left="$router.back()" />
    <van-cell-group>

      <van-cell v-for="item in this.article_lists" :key="item.id" :title="item.title" isLink :to="{path: '/helpViews', query:{id:item.id} }"></van-cell>

    </van-cell-group>
    <is-empty v-if="article_lists.length == 0">还没有服务内容</is-empty>
  </div>
</template>



<script>

  import IsEmpty from '@/components/include/empty/';
  export default {
    components: {
      [IsEmpty.name]: IsEmpty
    },

    data() {
      return {
        article_lists: []
      }
    },
    mounted() {
      this.loadLists();
    },
    methods: {



      loadLists() {


        this.apiPost('/shop.article/lists', {}).then(res => {
          this.article_lists = res.data;
        });




      }
    },


  }
</script>
